﻿using _03_View_Model_MVVM_Basics.Directory.ViewModels;
using System.IO;
using System.Windows;
using System.Windows.Controls;

namespace _03_View_Model_MVVM_Basics
{
	/// <summary>
	/// Interaction logic for MainWindow.xaml
	/// </summary>
	public partial class MainWindow : Window
	{
		public DirectoryStructureViewModel DirectoryStructureViewModel { get; set; }

		public MainWindow()
		{
			InitializeComponent();
			if (DirectoryStructureViewModel == null) DirectoryStructureViewModel = new DirectoryStructureViewModel();
			DataContext = DirectoryStructureViewModel;
		}
	}
}